package com.szp.spCloud.user.dao;

import com.szp.spCloud.common.pojo.Token;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

public interface TokenRepository extends JpaRepository<Token, Integer> {
    @Transactional
    void deleteByEmail(String email);
}
